package com.zealfi.wk.stream.core;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * Created by kuan at 2018-05-15 上午 9:47
 */
public interface AppProcessor {
    String INPUT = "app-input";
    String OUTPUT = "app-output";

    @Input(INPUT)
    SubscribableChannel input();

    @Output(OUTPUT)
    MessageChannel output();
}
